﻿#encoding: utf-8
#this file can be used in other ruby file by loading 'wechat_api.rb'

require 'rest-client'   #to use RestClient
require 'json'
require 'awesome_print' #to use ap helper

puts "sync default waybills"
res = RestClient.get 'https://totemlife.cn/apps/cgi-bin/update-waybills'
body = JSON.parse res.body
ap body
